package com.woniuxy.yoga.order.model.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

@Data
@ApiModel("修改订单评价状态参数")
public class UpdateEvaluateStateForm {

    /**
     * 订单编号
     */
    @ApiModelProperty("订单编号")
    @NotBlank
    private String orderNum;

    /**
     * 状态 0未评价 1已评价
     */
    @ApiModelProperty("状态 0未评价 1已评价")
    @Min(0)
    @Max(1)
    private Integer evaluateState;
}
